<%--
  Created by IntelliJ IDEA.
  User: 24406
  Date: 2022/5/27
  Time: 12:01
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <script>
        function reg() {
            window.open("register.jsp");
        }
    </script>
</head>
<body>
<div>
    <h1>人员档案管理系统</h1>
    <form method="post" action="login?method=login">
        用户名：<input type="text" name="username">
        <br>
        密码：<input type="password" name="password">
        <br>
        <input type="submit" value="登录">
        <input type="button" value="注册" onclick="reg()">
    </form>
</div>
</body>
</html>
